<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0,user-scalable=no,minimal-ui">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../img/asset-favico.ico">
    <title>预约详情</title>
    <link rel="stylesheet" href="../css/page-health-orderDetail.css"/>
    <script src="../plugins/vue/vue.js"></script>
    <script src="../plugins/vue/axios-0.18.0.js"></script>
    <script src="../plugins/healthmobile.js"></script>
    <script src="../js/config.js"></script>
</head>
<body data-spy="scroll" data-target="#myNavbar" data-offset="150">
<div id="app" class="app">
    <!-- 页面头部 -->
    <div class="top-header">
        <span class="f-left"><i class="icon-back" onclick="history.go(-1)"></i></span>
        <span class="center">传智健康</span>
        <span class="f-right"><i class="icon-more"></i></span>
    </div>
    <!-- 页面内容 -->
    <div class="contentBox">
        <div class="card">
            <div class="project-img">
                <img :src="imgUrl" width="100%" height="100%"/>
            </div>
            <div class="project-text">
                <h4 class="tit">{{setmeal.name}}</h4>
                <p class="subtit">{{setmeal.remark}}</p>
                <p class="keywords">
                    <span>{{setmeal.sex == '0' ? '性别不限' : setmeal.sex == '1' ? '男':'女'}}</span>
                    <span>{{setmeal.age}}</span>
                </p>
            </div>
            <!--<div class="project-know">
                <a href="orderNotice.html" class="link-page">
                    <i class="icon-ask-circle"><span class="path1"></span><span class="path2"></span></i>
                    <span class="word">预约须知</span>
                    <span class="arrow"><i class="icon-rit-arrow"></i></span>
                </a>
            </div>-->
        </div>
        <div class="table-listbox">
            <div class="box-title">
                <i class="icon-zhen"><span class="path1"></span><span class="path2"></span></i>
                <span>套餐详情</span>
            </div>
            <div class="box-table">
                <div class="table-title">
                    <div class="tit-item flex2">项目名称</div>
                    <div class="tit-item  flex3">项目内容</div>
                    <div class="tit-item  flex3">项目解读</div>
                </div>
                <div class="table-content">
                    <ul class="table-list">
                        <li class="table-item" v-for="checkgroup in setmeal.checkGroups">
                            <div class="item flex2">{{checkgroup.name}}</div>
                            <div class="item flex3">
                                <label v-for="checkitem in checkgroup.checkItems">
                                    {{checkitem.name}}
                                </label>
                            </div>
                            <div class="item flex3">{{checkgroup.remark}}</div>
                        </li>
                    </ul>
                </div>
                <div class="box-button">
                    <a @click="toOrderInfo()" class="order-btn">立即预约</a>
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    var vue = new Vue({
        el: '#app',
        data: {
            imgUrl: "http://health.zlf520.cn/"+"aedab383-f846-4db0-af77-f9fc0dc9086a1.jpg",//套餐对应的图片链接
            setmeal: {"img":"aedab383-f846-4db0-af77-f9fc0dc9086a1.jpg","code":"0001","checkGroups":[{"code":"0001","sex":"0","remark":"一般检查","helpCode":"YBJC","name":"一般检查","attention":"无","id":5,"checkItems":[{"code":"0001","sex":"0","remark":"身高","price":5,"name":"身高","attention":"无","id":28,"age":"0-100"},{"code":"0002","sex":"0","remark":"体重","price":5,"name":"体重","attention":"无","id":29,"age":"0-100"},{"code":"0003","sex":"0","remark":"体重指数","price":5,"name":"体重指数","attention":"无","id":30,"age":"0-100"},{"code":"0004","sex":"0","remark":"收缩压","price":5,"name":"收缩压","attention":"无","id":31,"age":"0-100"},{"code":"0005","sex":"0","remark":"舒张压","price":5,"name":"舒张压","attention":"无","id":32,"age":"0-100"}]},{"code":"0002","sex":"0","remark":"视力色觉","helpCode":"SLSJ","name":"视力色觉","id":6,"checkItems":[{"code":"0006","sex":"0","remark":"裸视力（右）","price":5,"name":"裸视力（右）","attention":"无","id":33,"age":"0-100"},{"code":"0007","sex":"0","remark":"裸视力（左）","price":5,"name":"裸视力（左）","attention":"无","id":34,"age":"0-100"},{"code":"0008","sex":"0","remark":"矫正视力（右）","price":5,"name":"矫正视力（右）","attention":"无","id":35,"age":"0-100"},{"code":"0009","sex":"0","remark":"矫正视力（左）","price":5,"name":"矫正视力（左）","attention":"无","id":36,"age":"0-100"},{"code":"0010","sex":"0","remark":"色觉","price":5,"name":"色觉","attention":"无","id":37,"age":"0-100"}]},{"code":"0003","sex":"0","remark":"血常规","helpCode":"XCG","name":"血常规","id":7,"checkItems":[{"code":"0011","sex":"0","remark":"白细胞计数","price":10,"name":"白细胞计数","attention":"无","id":38,"age":"0-100"},{"code":"0012","sex":"0","remark":"红细胞计数","price":10,"name":"红细胞计数","id":39,"age":"0-100"},{"code":"0013","sex":"0","remark":"血红蛋白","price":10,"name":"血红蛋白","id":40,"age":"0-100"},{"code":"0014","sex":"0","remark":"红细胞压积","price":10,"name":"红细胞压积","id":41,"age":"0-100"},{"code":"0015","sex":"0","remark":"平均红细胞体积","price":10,"name":"平均红细胞体积","id":42,"age":"0-100"},{"code":"0016","sex":"0","remark":"平均红细胞血红蛋白含量","price":10,"name":"平均红细胞血红蛋白含量","id":43,"age":"0-100"},{"code":"0017","sex":"0","remark":"平均红细胞血红蛋白浓度","price":10,"name":"平均红细胞血红蛋白浓度","id":44,"age":"0-100"},{"code":"0018","sex":"0","remark":"红细胞分布宽度-变异系数","price":10,"name":"红细胞分布宽度-变异系数","id":45,"age":"0-100"},{"code":"0019","sex":"0","remark":"血小板计数","price":10,"name":"血小板计数","id":46,"age":"0-100"},{"code":"0020","sex":"0","remark":"平均血小板体积","price":10,"name":"平均血小板体积","id":47,"age":"0-100"},{"code":"0021","sex":"0","remark":"血小板分布宽度","price":10,"name":"血小板分布宽度","id":48,"age":"0-100"},{"code":"0022","sex":"0","remark":"淋巴细胞百分比","price":10,"name":"淋巴细胞百分比","id":49,"age":"0-100"},{"code":"0023","sex":"0","remark":"中间细胞百分比","price":10,"name":"中间细胞百分比","id":50,"age":"0-100"},{"code":"0024","sex":"0","remark":"中性粒细胞百分比","price":10,"name":"中性粒细胞百分比","id":51,"age":"0-100"},{"code":"0025","sex":"0","remark":"淋巴细胞绝对值","price":10,"name":"淋巴细胞绝对值","id":52,"age":"0-100"},{"code":"0026","sex":"0","remark":"中间细胞绝对值","price":10,"name":"中间细胞绝对值","id":53,"age":"0-100"},{"code":"0027","sex":"0","remark":"中性粒细胞绝对值","price":10,"name":"中性粒细胞绝对值","id":54,"age":"0-100"},{"code":"0028","sex":"0","remark":"红细胞分布宽度-标准差","price":10,"name":"红细胞分布宽度-标准差","id":55,"age":"0-100"},{"code":"0029","sex":"0","remark":"血小板压积","price":10,"name":"血小板压积","id":56,"age":"0-100"}]},{"code":"0004","sex":"0","remark":"尿常规","helpCode":"NCG","name":"尿常规","id":8,"checkItems":[{"code":"0030","sex":"0","remark":"尿比重","price":10,"name":"尿比重","id":57,"age":"0-100"},{"code":"0031","sex":"0","remark":"尿酸碱度","price":10,"name":"尿酸碱度","id":58,"age":"0-100"},{"code":"0032","sex":"0","remark":"尿白细胞","price":10,"name":"尿白细胞","id":59,"age":"0-100"},{"code":"0033","sex":"0","remark":"尿亚硝酸盐","price":10,"name":"尿亚硝酸盐","id":60,"age":"0-100"},{"code":"0034","sex":"0","remark":"尿蛋白质","price":10,"name":"尿蛋白质","id":61,"age":"0-100"},{"code":"0035","sex":"0","remark":"尿糖","price":10,"name":"尿糖","id":62,"age":"0-100"},{"code":"0036","sex":"0","remark":"尿酮体","price":10,"name":"尿酮体","id":63,"age":"0-100"},{"code":"0037","sex":"0","remark":"尿胆原","price":10,"name":"尿胆原","id":64,"age":"0-100"},{"code":"0038","sex":"0","remark":"尿胆红素","price":10,"name":"尿胆红素","id":65,"age":"0-100"},{"code":"0039","sex":"0","remark":"尿隐血","price":10,"name":"尿隐血","id":66,"age":"0-100"},{"code":"0040","sex":"0","remark":"尿镜检红细胞","price":10,"name":"尿镜检红细胞","id":67,"age":"0-100"},{"code":"0041","sex":"0","remark":"尿镜检白细胞","price":10,"name":"尿镜检白细胞","id":68,"age":"0-100"},{"code":"0042","sex":"0","remark":"上皮细胞","price":10,"name":"上皮细胞","id":69,"age":"0-100"},{"code":"0043","sex":"0","remark":"无机盐类","price":10,"name":"无机盐类","id":70,"age":"0-100"},{"code":"0044","sex":"0","remark":"尿镜检蛋白定性","price":10,"name":"尿镜检蛋白定性","id":71,"age":"0-100"}]},{"code":"0005","sex":"0","remark":"肝功三项","helpCode":"GGSX","name":"肝功三项","id":9,"checkItems":[{"code":"0045","sex":"0","remark":"丙氨酸氨基转移酶","price":10,"name":"丙氨酸氨基转移酶","id":72,"age":"0-100"},{"code":"0046","sex":"0","remark":"天门冬氨酸氨基转移酶","price":10,"name":"天门冬氨酸氨基转移酶","id":73,"age":"0-100"},{"code":"0047","sex":"0","remark":"Y-谷氨酰转移酶","price":10,"name":"Y-谷氨酰转移酶","id":74,"age":"0-100"}]},{"code":"0006","sex":"0","remark":"肾功三项","helpCode":"NGSX","name":"肾功三项","id":10,"checkItems":[{"code":"0048","sex":"0","remark":"尿素","price":10,"name":"尿素","id":75,"age":"0-100"},{"code":"0049","sex":"0","remark":"肌酐","price":10,"name":"肌酐","id":76,"age":"0-100"},{"code":"0050","sex":"0","remark":"尿酸","price":10,"name":"尿酸","id":77,"age":"0-100"}]},{"code":"0007","sex":"0","remark":"血脂四项","helpCode":"XZSX","name":"血脂四项","id":11,"checkItems":[{"code":"0051","sex":"0","remark":"总胆固醇","price":10,"name":"总胆固醇","id":78,"age":"0-100"},{"code":"0052","sex":"0","remark":"甘油三酯","price":10,"name":"甘油三酯","id":79,"age":"0-100"},{"code":"0053","sex":"0","remark":"高密度脂蛋白胆固醇","price":10,"name":"高密度脂蛋白胆固醇","id":80,"age":"0-100"},{"code":"0054","sex":"0","remark":"低密度脂蛋白胆固醇","price":10,"name":"低密度脂蛋白胆固醇","id":81,"age":"0-100"}]}],"sex":"0","remark":"入职体检套餐","helpCode":"RZTJ","price":300,"name":"入职无忧体检套餐（男女通用）","id":12,"age":"18-60"}
        },
        methods: {
            toOrderInfo() {
                //获取请求路径中的URL参数
                var id = getUrlParam("id");
                //路径跳转 , 跳转到用户预约页面
                window.location.href = "orderInfo.html?id=" + id;
            }
        }
    });
</script>
</body>